package com.nimitz.modules.approval.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nimitz.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



/**
 * @ClassName ApprovalProcedureNode
 * @Author FuCun
 * @Date 2021-08-17-14:45
 * @PackageName com.nimitz.modules.approval.domain
 * @Description 审批流节点明细表
 * @Version 1.0.0
 */
@TableName("approval_procedure_node")
@ApiModel(value="ApprovalProcedureNode对象", description="审批流节点明细表")
public class ApprovalProcedureNode extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 审批流节点id
     */
    @ApiModelProperty(value = "审批流节点id")
    @TableId(value = "procedure_node_id", type = IdType.AUTO)
    private Long procedureNodeId;

    /**
     * 审批流编号
     */
    @ApiModelProperty(value = "审批流编号")
    private Long procedureNo;

    /**
     * 审批流节点名称
     */
    @ApiModelProperty(value = "审批流节点名称")
    private String procedureNodeName;

    /**
     * 节点人员id
     */
    @ApiModelProperty(value = "节点人员id")
    private Long procedureNodeUserId;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;



    public Long getProcedureNodeId() {
        return procedureNodeId;
    }

    public void setProcedureNodeId(Long procedureNodeId) {
        this.procedureNodeId = procedureNodeId;
    }
    public Long getProcedureNo() {
        return procedureNo;
    }

    public void setProcedureNo(Long procedureNo) {
        this.procedureNo = procedureNo;
    }
    public String getProcedureNodeName() {
        return procedureNodeName;
    }

    public void setProcedureNodeName(String procedureNodeName) {
        this.procedureNodeName = procedureNodeName;
    }
    public Long getProcedureNodeUserId() {
        return procedureNodeUserId;
    }

    public void setProcedureNodeUserId(Long procedureNodeUserId) {
        this.procedureNodeUserId = procedureNodeUserId;
    }
    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "ApprovalProcedureNode{" +
            "procedureNodeId=" + procedureNodeId +
            ", procedureNo=" + procedureNo +
            ", procedureNodeName=" + procedureNodeName +
            ", procedureNodeUserId=" + procedureNodeUserId +
            ", delFlag=" + delFlag +

        "}";
    }
}
